import request from '@/utils/request'

export function getGitProviderList(data) {
  return request({
    url: '/rangeBuild/gitProvider/getGitProviderList',
    method: 'get',
    params: { data }
  })
}

export function getGitProviderByManageId() {
  return request({
    url: '/rangeBuild/gitProvider/getGitProviderByManageId',
    method: 'get'
  })
}

export function updateGitProvider(data) {
  return request({
    url: '/rangeBuild/gitProvider/updateGitProvider',
    method: 'post',
    data
  })
}
